package org.example.mulitithreading.ex12;

public class Demo {
    public static void main(String[] args) {
        Foodie f = new Foodie();
        f.setName("吃货");
        Cooker c = new Cooker();
        c.setName("厨师");

        f.start();
        c.start();
    }
}
